
<style lang="stylus">
  
</style>

<template>
  <div id="app">
    <header>
      <router-link to="/home" tag='li'>Home</router-link>
      <router-link to="/home/java">java</router-link>
      <router-link to="/home/node">node</router-link>
      <router-link to='/xxx/on'>XXX</router-link>
    </header>
  <!--
    <router-view name="Header"></router-view>
    <router-view name="Sidebar"></router-view>
    <router-view name="Main"></router-view>
  -->
    <!-- 对应组件的内容渲染到router-view中 -->
    <router-view></router-view>
  </div>
</template>

<script type="text/javascript">
  export default {
    data() {
      return {
        
      }
    }
  }
</script>